<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8"/>
        <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0" />
        <meta name="format-detection" content="telephone=no" />
        <meta content="yes" name="mobile-web-app-capable">
        <meta content="yes" name="apple-mobile-web-app-capable" />
        <meta http-equiv="Cache-Control" content="no-siteapp" />
        <title>{php echo empty($theme['jubf'])?'':$theme['jubf'].'-';}{php echo !empty($theme['USERCOMPANYNAME'])?$theme['USERCOMPANYNAME']:$_G['companyname'];}</title>
        <script type="text/javascript">
            var deviceWidth = document.documentElement.clientWidth;
            if(deviceWidth > 414)
                 deviceWidth = 540; 
            document.documentElement.style.fontSize = deviceWidth / 7.5 + 'px';
        </script>
        <link rel="stylesheet" type="text/css" href="{$_G['URL']['WORKER_CSS']}css/reset.css">
        <link rel="stylesheet" type="text/css" href="{$_G['URL']['WORKER_CSS']}css/index.css">
        <link rel="stylesheet" type="text/css" href="{$_G['URL']['WORKER_CSS']}css/ui.css">
        <script type="text/javascript" src="{$_G['URL']['WORKER_CSS']}js/rem.js"></script>        
        <script type="text/javascript" src="{$_G['URL']['WORKER_CSS']}js/jquery.js"></script>
        <script src="{$_G['URL']['WORKER_CSS']}js/lCalendar.js"></script>
        <link rel="stylesheet" href="{$_G['URL']['WORKER_CSS']}css/lCalendar.css">

        <style type="text/css">
            input{
                width: 96%;
                height: 0.55rem;
                font-size: 0.26rem;
                border: 1px solid #19b5ee;
                border-radius: 5px;
                margin-top: 0.05rem;
                padding: 0.05rem 0.1rem;
                text-align: center;
            }
            .l_btn {
                display: inline-block;
                width: 5.7rem;
                height: 0.68rem;
                border-radius: 0.34rem;
                background-color: #2cc3ed;
                font-size: 0.36rem;
                line-height: 0.68rem;
                text-align: center;
                margin: 0.4rem auto 0 auto;
                color: #ffffff;
            }
        </style>
    </head>
    <body>
        <header class="i_header">
            <div class="s_head" style=" overflow: hidden; ">
                <img src="{$fans['avatar']}">
            </div>
            <h3>{php echo empty($teamname)?'':$teamname.": ";}{$myworker['username']}</h3>
            <h3>{php echo empty($shopname)?$theme['jubf']:$shopname;}{$shenfen}</h3>
        </header>

        <div class="item" style="text-align: center;">
            <img style="padding:30px; width:70%;" src="{$_G['URL']['QRURLNEW']}{php echo urlencode($workerurl);}">
        </div>

        <div class="item" style="text-align: center;">
            <p>员工专属二维码,可以用来做宣传海报群发使用,可统计本人业绩</p>
            <!-- <input type="text" id="username" name="username" placeholder="" value="群发网址：{php echo str_replace("http://","",$workerurl);}  用于文字群发或群发软件群发" /> -->
        </div>

        <div class="item" style="text-align: center;">
            <a class="l_btn" href="{$workerurl}">打开活动链接,开始邀约 >></a>
            <a class="l_btn" href="{$url}" style="background-color: #55b7f0;">返回修改</a>
        </div>

        {include file='yxworker/w_foot_yixuan'}
        
<script type="text/javascript" src="http://res2.wx.qq.com/open/js/jweixin-1.4.0.js"></script>
<script>
        function onBridgeReady() {
            WeixinJSBridge.call('hideOptionMenu');
        }

        if (typeof WeixinJSBridge == "undefined") {
            if (document.addEventListener) {
                document.addEventListener('WeixinJSBridgeReady', onBridgeReady, false);
            } else if (document.attachEvent) {
                document.attachEvent('WeixinJSBridgeReady', onBridgeReady);
                document.attachEvent('onWeixinJSBridgeReady', onBridgeReady);
            }
        } else {
            onBridgeReady();
        }
    </script>
    </body>
</html>
